package com.webemail.sys.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Component;

import com.webemail.sys.model.SysEmailAccount;

/**
 * @author LaiHQ
 */
@Component
public interface EmailService {

	int insert(SysEmailAccount temp);

	int delete(SysEmailAccount temp);

	int delete(long id, long userId);

	int update(SysEmailAccount temp);

	SysEmailAccount get(long id, long userId);

	List<SysEmailAccount> list(long userId);
}
